Making WordPress.org


Ignore:
Timestamp:
03/10/2018 11:32:28 AM (7 years ago)
Author:
ocean90
Message:

Support Forums: Use new Plugin Directory code to obtain plugin icons.

Fixes #3503.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss

    r6317 r6850  
    1414.three-up { //3-columns section
    1515    @extend .clear;
    16    
     16
    1717    @media (min-width: $ms-breakpoint) {
    1818        > div {
     
    9696            @media screen and ( min-width: $ms-breakpoint ) {
    9797                float: left;
    98                 padding: 0; 
     98                padding: 0;
    9999                width: 65%;
    100100            }
     
    162162
    163163        .bbp-body {
    164             .bbp-topic-freshness, 
    165             .bbp-topic-voice-count, 
     164            .bbp-topic-freshness,
     165            .bbp-topic-voice-count,
    166166            .bbp-topic-reply-count {
    167167                font-size: ms(-3);
     
    171171        .bbp-header,
    172172        .bbp-body {
    173             li.bbp-forum-freshness, 
     173            li.bbp-forum-freshness,
    174174            li.bbp-topic-freshness {
    175175                width: 58%;
     
    191191        }
    192192
    193         ul.bbp-lead-topic, 
    194         ul.bbp-replies, 
    195         ul.bbp-search-results, 
     193        ul.bbp-lead-topic,
     194        ul.bbp-replies,
     195        ul.bbp-search-results,
    196196        ul.bbp-topics.full-posts,
    197197        li.bbp-body div.hentry {
     
    216216        }
    217217
    218         div.bbp-topic-author img.avatar, 
     218        div.bbp-topic-author img.avatar,
    219219        div.bbp-reply-author img.avatar {
    220220            border-radius: 50%;
     
    246246        }
    247247
    248         div.bbp-reply-author a.bbp-author-name, 
     248        div.bbp-reply-author a.bbp-author-name,
    249249        div.bbp-topic-author a.bbp-author-name {
    250250            clear: none;
     
    254254        }
    255255
    256         div.bbp-reply-author, 
     256        div.bbp-reply-author,
    257257        div.bbp-topic-author {
    258258            float: none;
     
    291291        }
    292292
    293         div.topic, 
     293        div.topic,
    294294        div.reply {
    295295            padding: 1.5rem 1.5rem 1.5rem 0;
    296296        }
    297297
    298         div.bbp-reply-content, 
     298        div.bbp-reply-content,
    299299        div.bbp-topic-content {
    300300            padding: 0;
     
    311311        }
    312312
    313         div.bbp-reply-content a, 
     313        div.bbp-reply-content a,
    314314        div.bbp-topic-content a {
    315315            text-decoration: underline;
     
    317317        }
    318318
    319         div.bbp-reply-content a.mention, 
     319        div.bbp-reply-content a.mention,
    320320        div.bbp-topic-content a.mention {
    321321            text-decoration: none;
     
    323323        }
    324324
    325         div.bbp-reply-content .bbp-reply-revision-log-item a, 
     325        div.bbp-reply-content .bbp-reply-revision-log-item a,
    326326        div.bbp-topic-content .bbp-topic-revision-log-item a {
    327327            text-decoration: none;
     
    346346        }
    347347
    348         ul.status-closed, 
     348        ul.status-closed,
    349349        ul.status-closed a {
    350350            color: inherit;
     
    358358                display: none; // Hides the avatar from single forum view.
    359359            }
    360        
     360
    361361            a ~ a {
    362362                margin-left: -3px; // Hides non-breaking space after the avatar.
     
    449449    }
    450450
    451     #bbpress-forums ul.bbp-forums, 
    452     #bbpress-forums ul.bbp-lead-topic, 
    453     #bbpress-forums ul.bbp-replies, 
    454     #bbpress-forums ul.bbp-search-results, 
     451    #bbpress-forums ul.bbp-forums,
     452    #bbpress-forums ul.bbp-lead-topic,
     453    #bbpress-forums ul.bbp-replies,
     454    #bbpress-forums ul.bbp-search-results,
    455455    #bbpress-forums ul.bbp-topics,
    456456    #bbpress-forums #bbp-user-wrapper {
     
    472472    }
    473473
    474     li.bbp-forum-freshness, 
     474    li.bbp-forum-freshness,
    475475    li.bbp-topic-freshness {
    476476        text-align: left;
     
    489489
    490490    .forum-titles {
    491         .bbp-topic-voice-count, 
     491        .bbp-topic-voice-count,
    492492        .bbp-topic-reply-count {
    493493            overflow: hidden;
     
    515515    }
    516516
    517     li.bbp-header li.bbp-forum-info, 
     517    li.bbp-header li.bbp-forum-info,
    518518    li.bbp-header li.bbp-topic-title {
    519519        text-align: left !important;
     
    533533    }
    534534
    535     .bbp-topic-form fieldset.bbp-form button, 
     535    .bbp-topic-form fieldset.bbp-form button,
    536536    .bbp-reply-form fieldset.bbp-form button { // specifc overwrites
    537537        float: none;
     
    796796    }
    797797
    798     .forum-info li.forum-subscribe:before, 
     798    .forum-info li.forum-subscribe:before,
    799799    .topic-info li.topic-subscribe:before {
    800800        content: "\f465";
     
    836836            }
    837837
    838             div.even:not(.topic), 
    839             ul.even, 
     838            div.even:not(.topic),
     839            ul.even,
    840840            div.odd,
    841841            ul.odd {
     
    866866                }
    867867
    868                 &.sticky, 
     868                &.sticky,
    869869                &.super-sticky,
    870870                &.status-closed {
     
    924924
    925925.sidebar {
    926 
    927926    .topic-info li.topic-forum:before {
    928927        content: "\f230";
     
    941940    }
    942941
     942    .plugin-meta-icon {
     943        border-top: 0;
     944    }
     945
     946    .plugin-icon {
     947        margin: 0;
     948        height: 128px;
     949        width: 128px;
     950        background-size: contain;
     951    }
    943952}
    944953
     
    10171026    }
    10181027}
    1019 
    1020 
    1021 
    1022 
    1023 
    1024 
Note: See TracChangeset for help on using the changeset viewer.