Skip to:
Content

bbPress.org

Ticket #1933: 1933-trunk.patch

File 1933-trunk.patch, 12.4 KB (added by mercime, 12 years ago)
  • templates/default/bbpress/content-single-topic-lead.php

     
    5555
    5656                                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    5757
    58                                 <?php bbp_topic_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
     58                                <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    5959
    6060                                <?php if ( bbp_is_user_keymaster() ) : ?>
    6161
  • templates/default/bbpress/loop-search-reply.php

     
    3434
    3535                <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    3636
    37                 <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
     37                <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    3838
    3939                <?php if ( bbp_is_user_keymaster() ) : ?>
    4040
  • templates/default/bbpress/loop-search-topic.php

     
    5454
    5555                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    5656
    57                 <?php bbp_topic_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
     57                <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    5858
    5959                <?php if ( bbp_is_user_keymaster() ) : ?>
    6060
  • templates/default/bbpress/loop-single-reply.php

     
    4242
    4343                <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    4444
    45                 <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
     45                <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    4646
    4747                <?php if ( bbp_is_user_keymaster() ) : ?>
    4848
  • templates/default/css/bbpress-rtl.css

     
    11181118 Media Queries
    11191119--------------------------------------------------------------*/
    11201120
    1121 /* =iPhone/Android landscape (and really narrow browser windows)
     1121/* =Smartphones Landscape
    11221122-------------------------------------------------------------- */
    11231123@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
    11241124        -webkit-text-size-adjust: none;
     
    11541154                display: block;
    11551155                font-size: 11px;
    11561156        }
     1157        #bbpress-forums div.bbp-reply-author {
     1158                margin: -15px 10px 10px;
     1159                min-height: 100px;
     1160                padding-right: 80px;
     1161                position: relative;
     1162                text-align: right;
     1163                width: 100%;
     1164        }
    11571165        #bbpress-forums div.bbp-reply-author a.bbp-author-name {
    11581166                clear: none;
    11591167                display: inline-block;
    1160         }
    1161         #bbpress-forums div.bbp-reply-author {
    1162                 margin: 0 10px 10px;
    1163                 text-align: left;
    1164                 width: 100%;
    1165         }
     1168                margin-right: 0;
     1169                word-wrap: break-word;
     1170        }       
    11661171        #bbpress-forums div.bbp-reply-author img.avatar {
    1167                 margin-bottom: -5px;
    1168                 width: 20px;
     1172                position: absolute;
     1173                top: 15px;
     1174                right: 0;
     1175                width: 60px;
    11691176                height: auto;
    11701177        }
    11711178        #bbpress-forums div.bbp-reply-author .bbp-author-role {
    11721179                font-size: 12px;
    11731180                font-style: normal;
    11741181        }
    1175         #bbpress-forums div.bbp-reply-author div {
    1176                 display: inline-block;
    1177                 margin-left: 12px;
    1178         }
    1179         #bbpress-forums div.bbp-reply-content {
     1182        #bbpress-forums .bbp-body  div.bbp-reply-content {
    11801183                clear: both;
    11811184                margin: 10px;
    11821185                padding: 0;
     
    12301233        #bbpress-forums li.bbp-body li.bbp-topic-freshness {
    12311234                width: 58%;
    12321235        }
    1233        
    12341236        #bbpress-forums li.bbp-body li.bbp-forum-topic-count,
    12351237        #bbpress-forums li.bbp-body li.bbp-forum-reply-count,
    12361238        #bbpress-forums li.bbp-body li.bbp-forum-freshness,
     
    12381240        #bbpress-forums li.bbp-body li.bbp-topic-reply-count,
    12391241        #bbpress-forums li.bbp-body li.bbp-topic-freshness {
    12401242                margin-top: 7px;
    1241         }       
    1242         #bbpress-forums li.bbp-header .bbp-reply-author {
     1243        }
     1244        #bbpress-forums li.bbp-header,
     1245        #bbpress-forums li.bbp-footer {
     1246                font-size: 10px;
     1247        }
     1248        #bbpress-forums li.bbp-header div.bbp-reply-author {
    12431249                text-align: right;
    1244                 width: 20%;
     1250                width: 25%;
    12451251        }
    1246         #bbpress-forums li.bbp-header .bbp-reply-content{
    1247                 margin-right: 22%;
     1252        #bbpress-forums li.bbp-header div.bbp-reply-content{
     1253                margin-right: 25%;
    12481254        }
    12491255        #bbpress-forums div.bbp-template-notice img.avatar,
    12501256        #bbpress-forums p.bbp-topic-meta img.avatar {
    12511257                width: 14px;
    12521258                height: auto;
    12531259        }
    1254         #bbpress-forums fieldset.bbp-form {
    1255                 padding: 10px 3px;
    1256                 width: 95%;
    1257         }
    12581260        #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar {
    12591261                padding: 1px;
    12601262        }
     
    12661268                width: 100%;
    12671269                overflow: auto;
    12681270        }
    1269         #bbpress-forums fieldset.bbp-form input,
    1270         input#bbp_topic_tags {
     1271        #bbpress-forums input#bbp_topic_title,
     1272        #bbpress-forums input#bbp_topic_tags {
    12711273                width: 95%;
    12721274        }
    12731275}
     
    12831285        #bbpress-forums li.bbp-header li.bbp-topic-reply-count,
    12841286        #bbpress-forums li.bbp-body li.bbp-topic-voice-count,
    12851287        #bbpress-forums li.bbp-body li.bbp-topic-reply-count,
    1286         #bbpress-forums li.bbp-footer .bbp-reply-content,
    1287         #bbpress-forums li.bbp-footer .bbp-reply-content {
    1288                 width: 49%;
     1288        #bbpress-forums li.bbp-footer div.bbp-reply-author,
     1289        #bbpress-forums li.bbp-footer div.bbp-reply-content {
     1290                width: 45%;
    12891291        }
    12901292        #bbpress-forums li.bbp-header li.bbp-forum-freshness,
    12911293        #bbpress-forums li.bbp-body li.bbp-forum-freshness,
    12921294        #bbpress-forums li.bbp-header li.bbp-topic-freshness,
    1293         #bbpress-forums li.bbp-body li.bbp-topic-freshness {
     1295        #bbpress-forums li.bbp-body li.bbp-topic-freshness,
     1296        #bbpress-forums li.bbp-header div.bbp-reply-author,
     1297        #bbpress-forums li.bbp-header div.bbp-reply-content {
    12941298                clear: both;
    12951299                width: 100%;
    12961300        }
     
    12981302        #bbpress-forums li.bbp-header li.bbp-topic-freshness { 
    12991303                text-align: center;
    13001304        }
    1301         #bbpress-forums li.bbp-header .bbp-reply-author {
     1305        #bbpress-forums li.bbp-body li.bbp-topic-freshness,
     1306        #bbpress-forums li.bbp-header div.bbp-reply-content {
     1307                margin-right: 0;
    13021308                text-align: right;
    1303                 width: 100%;
    13041309        }
    1305         #bbpress-forums li.bbp-header .bbp-reply-content {
    1306                 clear: right;
    1307                 margin-right: 0;
     1310        #bbpress-forums li.bbp-body li.bbp-topic-freshness p.bbp-topic-meta {
     1311                display: inline-block;
    13081312        }
    13091313        #bbpress-forums li.bbp-header {
    13101314                overflow: hidden;
    13111315        }
    1312         #bbpress-forums fieldset.bbp-form input,
    1313         input#bbp_topic_tags {
    1314                 width: 90%;
     1316        #bbpress-forums li.bbp-footer div.bbp-reply-content {
     1317                display: inline-block;
     1318                margin-right: 0;
    13151319        }
     1320        #bbpress-forums li.bbp-body div.bbp-reply-author {
     1321                min-height: 60px;
     1322                padding-right: 60px;
     1323        }
     1324        #bbpress-forums div.bbp-reply-author img.avatar {
     1325                width: 40px;
     1326                height: auto;
     1327        }       
    13161328}
     1329 No newline at end of file
  • templates/default/css/bbpress.css

     
    434434        float: right;
    435435}
    436436
    437 
    438437/* =Admin Links
    439438-------------------------------------------------------------- */
    440439
     
    11191118 Media Queries
    11201119--------------------------------------------------------------*/
    11211120
    1122 /* =iPhone/Android landscape (and really narrow browser windows)
     1121/* =Smartphones Landscape
    11231122-------------------------------------------------------------- */
    11241123@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
    11251124        -webkit-text-size-adjust: none;
     
    11551154                display: block;
    11561155                font-size: 11px;
    11571156        }
     1157        #bbpress-forums .bbp-body div.bbp-reply-author {
     1158                margin: -15px 10px 10px;
     1159                min-height: 100px;
     1160                padding-left: 80px;
     1161                position: relative;
     1162                text-align: left;
     1163                width: 100%;
     1164        }
    11581165        #bbpress-forums div.bbp-reply-author a.bbp-author-name {
    11591166                clear: none;
    11601167                display: inline-block;
     1168                margin-left: 0;
     1169                word-wrap: break-word;
    11611170        }
    1162         #bbpress-forums div.bbp-reply-author {
    1163                 margin: 0 10px 10px;
    1164                 text-align: left;
    1165                 width: 100%;
    1166         }
    1167        
    11681171        #bbpress-forums div.bbp-reply-author img.avatar {
    1169                 margin-bottom: -5px;
    1170                 width: 20px;
     1172                position: absolute;
     1173                top: 15px;
     1174                left: 0;
     1175                width: 60px;
    11711176                height: auto;
    11721177        }
    11731178        #bbpress-forums div.bbp-reply-author .bbp-author-role {
    11741179                font-size: 12px;
    11751180                font-style: normal;
    11761181        }
    1177         #bbpress-forums div.bbp-reply-author div {
    1178                 display: inline-block;
    1179                 margin-right: 12px;
    1180         }
    1181         #bbpress-forums div.bbp-reply-content {
     1182        #bbpress-forums .bbp-body div.bbp-reply-content {
    11821183                clear: both;
    11831184                margin: 10px;
    11841185                padding: 0;
     
    11991200        }
    12001201}
    12011202
    1202 /* =iPhone/Android portrait
     1203/* =Smartphones Portrait
    12031204-------------------------------------------------------------- */
    12041205@media only screen and (max-width: 320px) {
    12051206        #bbpress-forums div.bbp-search-form {
     
    12321233        #bbpress-forums li.bbp-body li.bbp-topic-freshness {
    12331234                width: 58%;
    12341235        }
    1235        
    12361236        #bbpress-forums li.bbp-body li.bbp-forum-topic-count,
    12371237        #bbpress-forums li.bbp-body li.bbp-forum-reply-count,
    12381238        #bbpress-forums li.bbp-body li.bbp-forum-freshness,
     
    12401240        #bbpress-forums li.bbp-body li.bbp-topic-reply-count,
    12411241        #bbpress-forums li.bbp-body li.bbp-topic-freshness {
    12421242                margin-top: 7px;
    1243         }       
    1244         #bbpress-forums li.bbp-header .bbp-reply-author {
     1243        }
     1244        #bbpress-forums li.bbp-header,
     1245        #bbpress-forums li.bbp-footer {
     1246                font-size: 10px;
     1247        }
     1248        #bbpress-forums li.bbp-header div.bbp-reply-author {
    12451249                text-align: left;
    1246                 width: 20%;
     1250                width: 25%;
    12471251        }
    1248         #bbpress-forums li.bbp-header .bbp-reply-content {
    1249                 margin-left: 22%;
     1252        #bbpress-forums li.bbp-header div.bbp-reply-content {
     1253                margin-left: 25%;
    12501254        }
    12511255        #bbpress-forums div.bbp-template-notice img.avatar,
    12521256        #bbpress-forums p.bbp-topic-meta img.avatar {
    12531257                width: 14px;
    12541258                height: auto;
    12551259        }
    1256         #bbpress-forums fieldset.bbp-form {
    1257                 padding: 10px 3px;
    1258                 width: 95%;
    1259         }
    12601260        #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar {
    12611261                padding: 1px;
    12621262        }
     
    12681268                width: 100%;
    12691269                overflow: auto;
    12701270        }
    1271         #bbpress-forums fieldset.bbp-form input,
    1272         input#bbp_topic_tags {
     1271        #bbpress-forums input#bbp_topic_title,
     1272        #bbpress-forums input#bbp_topic_tags {
    12731273                width: 95%;
    12741274        }
    12751275}
    12761276
    1277 /* =Styles for smaller device
     1277/* =Styles for smaller devices
    12781278-------------------------------------------------------------- */
    12791279@media only screen and (max-width: 240px) {
    12801280        #bbpress-forums li.bbp-header li.bbp-forum-topic-count,
     
    12851285        #bbpress-forums li.bbp-header li.bbp-topic-reply-count,
    12861286        #bbpress-forums li.bbp-body li.bbp-topic-voice-count,
    12871287        #bbpress-forums li.bbp-body li.bbp-topic-reply-count,
    1288         #bbpress-forums li.bbp-footer .bbp-reply-content,
    1289         #bbpress-forums li.bbp-footer .bbp-reply-content {
    1290                 width: 49%;
     1288        #bbpress-forums li.bbp-footer div.bbp-reply-author,
     1289        #bbpress-forums li.bbp-footer div.bbp-reply-content {
     1290                width: 45%;
    12911291        }
    12921292        #bbpress-forums li.bbp-header li.bbp-forum-freshness,
    12931293        #bbpress-forums li.bbp-body li.bbp-forum-freshness,
    12941294        #bbpress-forums li.bbp-header li.bbp-topic-freshness,
    1295         #bbpress-forums li.bbp-body li.bbp-topic-freshness {
     1295        #bbpress-forums li.bbp-body li.bbp-topic-freshness,
     1296        #bbpress-forums li.bbp-header div.bbp-reply-author,
     1297        #bbpress-forums li.bbp-header div.bbp-reply-content {
    12961298                clear: both;
    12971299                width: 100%;
    12981300        }
     
    13001302        #bbpress-forums li.bbp-header li.bbp-topic-freshness { 
    13011303                text-align: center;
    13021304        }
    1303         #bbpress-forums li.bbp-header .bbp-reply-author {
     1305        #bbpress-forums li.bbp-body li.bbp-topic-freshness,
     1306        #bbpress-forums li.bbp-header div.bbp-reply-content {
     1307                margin-left: 0;
    13041308                text-align: left;
    1305                 width: 100%;
    13061309        }
    1307         #bbpress-forums li.bbp-header .bbp-reply-content {
    1308                 clear: left;
    1309                 margin-left: 0;
     1310        #bbpress-forums li.bbp-body li.bbp-topic-freshness p.bbp-topic-meta {
     1311                display: inline-block;
    13101312        }
    13111313        #bbpress-forums li.bbp-header {
    13121314                overflow: hidden;
    13131315        }
    1314         #bbpress-forums fieldset.bbp-form input,
    1315         input#bbp_topic_tags {
    1316                 width: 90%;
     1316        #bbpress-forums li.bbp-footer div.bbp-reply-content {
     1317                display: inline-block;
     1318                margin-left: 0;
    13171319        }
     1320        #bbpress-forums li.bbp-body div.bbp-reply-author {
     1321                min-height: 60px;
     1322                padding-left: 60px;
     1323        }
     1324        #bbpress-forums div.bbp-reply-author img.avatar {
     1325                width: 40px;
     1326                height: auto;
     1327        }
    13181328}
     1329 No newline at end of file