mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 01:48:21 +01:00
Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26834 git-svn-id: http://core.svn.wordpress.org/trunk@26721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8cf1d699d9
commit
4fb4588829
@ -383,13 +383,11 @@ h3 {
|
||||
}
|
||||
|
||||
.wrap .add-new-h2,
|
||||
.wrap .add-new-h2:active,
|
||||
#add-new-comment a {
|
||||
.wrap .add-new-h2:active {
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
.wrap .add-new-h2:hover,
|
||||
#add-new-comment a:hover {
|
||||
.wrap .add-new-h2:hover {
|
||||
background: #2ea2cc;
|
||||
color: #fff;
|
||||
}
|
||||
@ -439,8 +437,7 @@ h3 {
|
||||
border-color: #c00 !important;
|
||||
}
|
||||
|
||||
.submit,
|
||||
#commentsdiv #add-new-comment {
|
||||
.submit {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/colors-rtl.min.css
vendored
2
wp-admin/css/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -383,13 +383,11 @@ h3 {
|
||||
}
|
||||
|
||||
.wrap .add-new-h2,
|
||||
.wrap .add-new-h2:active,
|
||||
#add-new-comment a {
|
||||
.wrap .add-new-h2:active {
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
.wrap .add-new-h2:hover,
|
||||
#add-new-comment a:hover {
|
||||
.wrap .add-new-h2:hover {
|
||||
background: #2ea2cc;
|
||||
color: #fff;
|
||||
}
|
||||
@ -439,8 +437,7 @@ h3 {
|
||||
border-color: #c00 !important;
|
||||
}
|
||||
|
||||
.submit,
|
||||
#commentsdiv #add-new-comment {
|
||||
.submit {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/colors.min.css
vendored
2
wp-admin/css/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/blue/colors.min.css
vendored
2
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/coffee/colors.min.css
vendored
2
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@ -834,8 +834,7 @@ div.error {
|
||||
}
|
||||
|
||||
.wrap .add-new-h2,
|
||||
.wrap .add-new-h2:active,
|
||||
#add-new-comment a {
|
||||
.wrap .add-new-h2:active {
|
||||
margin-right: 4px;
|
||||
padding: 4px 8px;
|
||||
position: relative;
|
||||
@ -3458,12 +3457,6 @@ table.fixed {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#commentsdiv #add-new-comment {
|
||||
border-width: 0 0 1px;
|
||||
border-style: none none solid;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
#commentsdiv .comments-box {
|
||||
border: 0 none;
|
||||
}
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -834,8 +834,7 @@ div.error {
|
||||
}
|
||||
|
||||
.wrap .add-new-h2,
|
||||
.wrap .add-new-h2:active,
|
||||
#add-new-comment a {
|
||||
.wrap .add-new-h2:active {
|
||||
margin-left: 4px;
|
||||
padding: 4px 8px;
|
||||
position: relative;
|
||||
@ -3458,12 +3457,6 @@ table.fixed {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#commentsdiv #add-new-comment {
|
||||
border-width: 0 0 1px;
|
||||
border-style: none none solid;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
#commentsdiv .comments-box {
|
||||
border: 0 none;
|
||||
}
|
||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -555,7 +555,7 @@ function post_comment_meta_box( $post ) {
|
||||
|
||||
wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
|
||||
?>
|
||||
<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>
|
||||
<p class="hide-if-no-js" id="add-new-comment"><a class="button" href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
|
||||
<?php
|
||||
|
||||
$total = get_comments( array( 'post_id' => $post->ID, 'number' => 1, 'count' => true ) );
|
||||
|
Loading…
Reference in New Issue
Block a user