Skip to:
Content

bbPress.org

Changeset 3655


Ignore:
Timestamp:
01/08/2012 11:00:16 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Tweak user profile header CSS to work better in IE and twentyeleven. Props mercime. Fixes #1713.

Location:
branches/plugin/bbp-themes/bbp-twentyten
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/content-single-user.php

    r3651 r3655  
    1616    <?php bbp_get_template_part( 'bbpress/user', 'details' ); ?>
    1717
    18     <hr />
    19 
    2018    <?php bbp_get_template_part( 'bbpress/user', 'subscriptions' ); ?>
    2119
    22     <hr />
    23 
    2420    <?php bbp_get_template_part( 'bbpress/user', 'favorites' ); ?>
    25 
    26     <hr />
    2721
    2822    <?php bbp_get_template_part( 'bbpress/user', 'topics-created' ); ?>
  • branches/plugin/bbp-themes/bbp-twentyten/css/bbpress-rtl.css

    r3653 r3655  
    1212#container hr {
    1313    margin: 0 0 24px 0;
    14 }
    15 #entry-author-info {
    16     margin: 10px 0 0 0;
    17     border-bottom: 1px solid #fff;
    1814}
    1915
     
    6864    border: 1px solid #eee;
    6965    margin-bottom: 20px;
     66    clear: both;
    7067}
    7168
     
    8380    padding: 8px;
    8481    text-align: center;
    85     clear: both;
    8682}
    8783
     
    9490}
    9591
    96 #bbpress-forums li.bbp-header li,
    97 #bbpress-forums li.bbp-footer li {
    98     float: right;
     92#bbpress-forums li.bbp-header .bbp-reply-author,
     93#bbpress-forums li.bbp-footer .bbp-reply-author {
     94    float: right;
     95    width: 120px;
     96}
     97
     98#bbpress-forums li.bbp-header .bbp-reply-content,
     99#bbpress-forums li.bbp-footer .bbp-reply-content {
     100    margin-right: 140px;
     101    text-align: right;
    99102}
    100103
     
    107110#bbpress-forums .bbp-reply-content img {
    108111    max-width: 100%;
     112}
     113
     114#bbpress-forums .bbp-topic-content ul,
     115#bbpress-forums .bbp-reply-content ul {
     116    list-style: square;
     117    padding-right: 15px;
    109118}
    110119
     
    143152}
    144153
    145 div.bbp-topic-author,
    146 div.bbp-reply-author {
    147     float: right;
    148     text-align: center;
    149 }
    150 
    151 div.bbp-topic-content,
    152 div.bbp-reply-content {
    153     margin-right: 140px;
    154     text-align: right;
    155 }
    156 
    157154li.bbp-header div.bbp-topic-content span#subscription-toggle,
    158155li.bbp-header div.bbp-topic-content span#favorite-toggle,
     
    164161li.bbp-body div.bbp-topic-author,
    165162li.bbp-body div.bbp-reply-author {
    166     padding: 12px;
    167     vertical-align: top;
     163    float: right;
     164    text-align: center;
     165    width: 115px;
     166}
     167
     168li.bbp-body div.bbp-topic-author img.avatar,
     169li.bbp-body div.bbp-reply-author img.avatar {
     170    border: 0;
     171    max-width: 80px;
     172    padding: 12px 20px 0 12px;
     173}
     174
     175li.bbp-body div.bbp-topic-author a.bbp-author-name,
     176li.bbp-body div.bbp-reply-author a.bbp-author-name {
     177    padding-right: 12px;
     178    padding-left: 20px;
     179    word-wrap: break-word;
    168180}
    169181
    170182li.bbp-body div.bbp-topic-content,
    171183li.bbp-body div.bbp-reply-content {
     184    margin-right: 140px;
    172185    padding: 12px 12px 12px 0px;
    173     vertical-align: top;
     186    text-align: right;
    174187}
    175188
     
    418431    float: left;
    419432    clear: none;
     433    margin-right: 25px;
    420434}
    421435
     
    759773.activity-list li.bbp_topic_create .activity-content .activity-inner,
    760774.activity-list li.bbp_reply_create .activity-content .activity-inner {
    761     border-right: 2px solid #EAEAEA;
     775    border-right: 2px solid #eaeaea;
    762776    margin-right: 5px;
    763777    padding-right: 10px;
    764778}
     779
     780/* =User Pages
     781-------------------------------------------------------------- */
     782
     783#bbpress-forums h1 {
     784    clear: none;
     785    font-size: 1.8em;
     786    line-height: 1em;
     787    padding-bottom: 10px;
     788}
     789
     790#bbpress-forums h2.entry-title {
     791    font-size: 1.4em;
     792    margin-bottom: 0;
     793    padding-bottom: 10px;
     794    padding-top: 0px;
     795}
     796
     797#bbpress-forums #entry-author-info {
     798    margin: 10px 0 20px 0;
     799    overflow: hidden;
     800}
     801
     802#bbpress-forums #entry-author-info #author-avatar {
     803    float: right;
     804    margin-left: 0;
     805    width: 60px;
     806}
     807
     808#bbpress-forums #entry-author-info #author-avatar img.avatar {
     809    max-width: 60px;
     810}
     811
     812#bbpress-forums #entry-author-info #author-description {
     813    float: none;
     814    margin-right: 100px;
     815}
     816
     817#bbp-author-subscriptions,
     818#bbp-author-favorites,
     819#bbp-author-topics-started {
     820    border-top: 1px solid #ccc;
     821    clear: both;
     822    margin-bottom: 20px;
     823    padding-top: 20px;
     824}
     825
     826
     827/* =BuddyPress Group Forums
     828-------------------------------------------------------------- */
     829
     830body.groups #bbpress-forums {
     831    margin: -19px -19px 0 -19px;
     832}
     833
     834body.groups #bbpress-forums ul.bbp-forums,
     835body.groups #bbpress-forums ul.bbp-topics,
     836body.groups #bbpress-forums ul.bbp-forums {
     837    border: none;
     838}
     839
     840#bbpress-forums div.row-actions {
     841    font-size: 11px;
     842    visibility: hidden;
     843}
     844
     845#bbpress-forums li:hover > div.row-actions {
     846    visibility: visible;
     847}
  • branches/plugin/bbp-themes/bbp-twentyten/css/bbpress.css

    r3654 r3655  
    1212#container hr {
    1313    margin: 0 0 24px 0;
    14 }
    15 #entry-author-info {
    16     margin: 10px 0 0 0;
    17     border-bottom: 1px solid #fff;
    1814}
    1915
     
    9490}
    9591
    96 #bbpress-forums li.bbp-header li,
    97 #bbpress-forums li.bbp-footer li {
    98     float: left;
     92#bbpress-forums li.bbp-header .bbp-reply-author,
     93#bbpress-forums li.bbp-footer .bbp-reply-author {
     94    float: left;
     95    width: 120px;
     96}
     97
     98#bbpress-forums li.bbp-header .bbp-reply-content,
     99#bbpress-forums li.bbp-footer .bbp-reply-content {
     100    margin-left: 140px;
     101    text-align: left;
    99102}
    100103
     
    107110#bbpress-forums .bbp-reply-content img {
    108111    max-width: 100%;
     112}
     113
     114#bbpress-forums .bbp-topic-content ul,
     115#bbpress-forums .bbp-reply-content ul {
     116    list-style: square;
     117    padding-left: 15px;
    109118}
    110119
     
    143152}
    144153
    145 div.bbp-topic-author,
    146 div.bbp-reply-author {
    147     float: left;
    148     text-align: center;
    149 }
    150 
    151 div.bbp-topic-content,
    152 div.bbp-reply-content {
    153     margin-left: 140px;
    154     text-align: left;
    155 }
    156 
    157154li.bbp-header div.bbp-topic-content span#subscription-toggle,
    158155li.bbp-header div.bbp-topic-content span#favorite-toggle,
     
    164161li.bbp-body div.bbp-topic-author,
    165162li.bbp-body div.bbp-reply-author {
    166     padding: 12px;
    167     vertical-align: top;
     163    float: left;
     164    text-align: center;
     165    width: 115px;
     166}
     167
     168li.bbp-body div.bbp-topic-author img.avatar,
     169li.bbp-body div.bbp-reply-author img.avatar {
     170    border: 0;
     171    max-width: 80px;
     172    padding: 12px 20px 0 12px;
     173}
     174
     175li.bbp-body div.bbp-topic-author a.bbp-author-name,
     176li.bbp-body div.bbp-reply-author a.bbp-author-name {
     177    padding-left: 12px;
     178    padding-right: 20px;
     179    word-wrap: break-word;
    168180}
    169181
    170182li.bbp-body div.bbp-topic-content,
    171183li.bbp-body div.bbp-reply-content {
     184    margin-left: 140px;
    172185    padding: 12px 12px 12px 0px;
    173     vertical-align: top;
     186    text-align: left;
    174187}
    175188
     
    760773.activity-list li.bbp_topic_create .activity-content .activity-inner,
    761774.activity-list li.bbp_reply_create .activity-content .activity-inner {
    762     border-left: 2px solid #EAEAEA;
     775    border-left: 2px solid #eaeaea;
    763776    margin-left: 5px;
    764777    padding-left: 10px;
    765778}
     779
     780/* =User Pages
     781-------------------------------------------------------------- */
     782
     783#bbpress-forums h1 {
     784    clear: none;
     785    font-size: 1.8em;
     786    line-height: 1em;
     787    padding-bottom: 10px;
     788}
     789
     790#bbpress-forums h2.entry-title {
     791    font-size: 1.4em;
     792    margin-bottom: 0;
     793    padding-bottom: 10px;
     794    padding-top: 0px;
     795}
     796
     797#bbpress-forums #entry-author-info {
     798    margin: 10px 0 20px 0;
     799    overflow: hidden;
     800}
     801
     802#bbpress-forums #entry-author-info #author-avatar {
     803    float: left;
     804    margin-right: 0;
     805    width: 60px;
     806}
     807
     808#bbpress-forums #entry-author-info #author-avatar img.avatar {
     809    max-width: 60px;
     810}
     811
     812#bbpress-forums #entry-author-info #author-description {
     813    float: none;
     814    margin-left: 100px;
     815}
     816
     817#bbp-author-subscriptions,
     818#bbp-author-favorites,
     819#bbp-author-topics-started {
     820    border-top: 1px solid #ccc;
     821    clear: both;
     822    margin-bottom: 20px;
     823    padding-top: 20px;
     824}
     825
    766826
    767827/* =BuddyPress Group Forums
Note: See TracChangeset for help on using the changeset viewer.