Changeset 4577
- Timestamp:
- 06/30/2011 08:33:09 PM (14 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/css/default-rtl.css
r4545 r4577 197 197 font-family: sans-serif; 198 198 } 199 #respond .comment-avatar-box { 200 float: right; 201 margin: 0 0 0 15px; 202 } 199 203 div.post-content, 200 204 div.comment-content { … … 309 313 float: left; 310 314 } 315 .commentlist ul.children { 316 margin: 15px 70px 15px 0; 317 } 318 .commentlist ul.children ul { 319 margin: 0 25px 0 0 0; 320 } 321 ol.commentlist #respond { 322 clear: right; 323 margin-left: auto; 324 margin-right: 70px; 325 } 326 div.comment-meta { 327 float: right; 328 } 311 329 div.comment-meta em { 330 float: left; 331 } 332 div.comment-meta p { 333 float: right; 334 } 335 div.comment-meta p.comment-reply { 312 336 float: left; 313 337 } -
trunk/bp-themes/bp-default/_inc/css/default.css
r4575 r4577 697 697 } 698 698 ol.commentlist li { 699 border-top: 1px solid #e4e4e4; 699 700 clear: left; 700 701 list-style: none; 701 702 margin-bottom: 15px; 702 703 } 704 ol.commentlist ul.children li { 705 margin-bottom: 0; 706 } 703 707 ol.commentlist div.comment-avatar-box { 704 708 float: left; 705 margin: 15px 1 0px 15px0;709 margin: 15px 15px 0 0; 706 710 } 707 711 .commentlist ul.children div.comment-avatar-box { 708 712 float: left; 709 margin: 0px 10px 10px0;713 margin: 0px 10px 0 0; 710 714 } 711 715 div.comment-avatar-box img { … … 713 717 } 714 718 div.comment-content { 715 border-top: 1px solid #e4e4e4; 716 padding-left: 75px; 717 } 718 .commentlist .children .comment { 719 margin-bottom: 5px; 720 } 721 div.comment-meta, 722 div.comment-options { 719 overflow: hidden; 720 } 721 .comment-entry { 722 float: left; 723 } 724 ul.children .comment-entry { 725 margin-bottom: 10px; 726 } 727 div.comment-meta { 723 728 color: #888; 729 float: left; 724 730 font-size: 11px; 725 731 margin: 15px 0; 732 width: 100%; 733 } 734 div.comment-meta p { 735 float: left; 736 margin-bottom: 0; 737 } 738 div.comment-meta p.comment-reply { 739 float: right; 726 740 } 727 741 div.comment-meta em { … … 781 795 -webkit-border-radius: 4px; 782 796 border-radius: 4px; 783 margin-bottom: 10px; 784 margin-left: 75px; 785 padding: 1px 10px; 786 797 margin: 15px 0 15px 70px; 798 padding: 0 10px; 787 799 } 788 800 .commentlist ul.children ul { 789 margin-left: 20px; 790 margin-bottom: 0; 791 padding: 5px 0 0 0; 801 margin: 0 0 0 25px; 792 802 } 793 803 .commentlist ul.children img.avatar { … … 797 807 width: 25px; 798 808 } 799 .commentlist ul.children div.comment-content {800 border-top: none;801 padding-left: 35px;802 }803 809 .commentlist ul.children div.comment-meta { 804 810 font-size: 11px; 805 margin -top:0;811 margin: 0 0 10px 0; 806 812 } 807 813 .commentlist ul.children div.comment-options { … … 840 846 padding: 15px; 841 847 } 848 #respond .avb img { 849 float: inherit; 850 } 851 #respond .comment-avatar-box { 852 float: left; 853 margin: 0 15px 0 0; 854 } 842 855 #respond .form-submit { 843 856 margin-bottom: 0; 844 857 } 845 858 ol.commentlist #respond { 846 margin-left: 75px; 859 clear: left; 860 margin-left: 70px; 847 861 } 848 862 .commentlist ul.children #respond { … … 853 867 h3#reply .comments-header { 854 868 font-size: 14px; 855 }856 #respond div.comment-avatar-box {857 margin-top: 0;858 869 } 859 870 #respond div.comment-content { … … 1650 1661 margin-top: 5px; 1651 1662 } 1652 .form-allowed-tags,1653 1663 .standard-form input[type=text] { 1654 1664 width: 75%; … … 1664 1674 } 1665 1675 .standard-form#signup_form input[type=text], 1666 .standard-form#signup_form textarea { 1676 .standard-form#signup_form textarea, 1677 .form-allowed-tags, 1678 #commentform input[type=text], 1679 #commentform textarea { 1667 1680 width: 90%; 1668 1681 } -
trunk/bp-themes/bp-default/comments.php
r4131 r4577 28 28 29 29 <ol class="commentlist"> 30 <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments' ) ) ?>30 <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments', 'type' => 'comment' ) ) ?> 31 31 </ol><!-- .comment-list --> 32 32 -
trunk/bp-themes/bp-default/functions.php
r4575 r4577 422 422 $avatar_size = 20; 423 423 ?> 424 424 425 <li <?php comment_class() ?> id="comment-<?php comment_ID() ?>"> 425 426 <div class="comment-avatar-box"> … … 442 443 443 444 <?php if ( 1 == $depth ) : ?> 444 ·<a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>445 <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a> 445 446 <?php elseif ( comments_open() ) : ?> 446 ·<?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>447 <?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?> 447 448 <?php endif; ?> 448 449 449 <?php edit_comment_link( __( 'Edit', 'buddypress' ) , '· ', ''); ?>450 <?php edit_comment_link( __( 'Edit', 'buddypress' ) ); ?> 450 451 </p> 452 453 <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?> 454 <p class="comment-reply"><?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?></p> 455 <?php endif; ?> 451 456 </div> 452 457 453 <?php if ( $comment->comment_approved == '0' ) : ?> 454 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></em><br /> 455 <?php endif; ?> 456 457 <?php comment_text() ?> 458 459 <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?> 460 <div class="comment-options"> 461 <?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?> 462 </div> 463 <?php endif; ?> 458 <div class="comment-entry"> 459 <?php if ( $comment->comment_approved == '0' ) : ?> 460 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ); ?></em> 461 <?php endif; ?> 462 463 <?php comment_text() ?> 464 </div> 465 464 466 </div> 467 465 468 <?php 466 469 }
Note: See TracChangeset
for help on using the changeset viewer.