Skip to:
Content

BuddyPress.org

Ticket #6124: 6124-02.patch

File 6124-02.patch, 3.3 KB (added by hnla, 5 years ago)

Updated stylesheet for BP section formatting.

  • src/bp-templates/bp-legacy/css/twentyfifteen.css

     
     1/*--------------------------------------------------------------
     2
     3This is the BuddyPress Companion stylesheet for
     4the WordPress Twentyfifteen theme.
     5
     6The Rulesets shadow the BP default stylesheet sectioning
     7to maintain uniformity.
     8
     9----------------------------------------------------------------
     10>>> TABLE OF CONTENTS:
     11----------------------------------------------------------------
     121.0 - Navigation
     13        1.1 - Nav - General/Common tabs, links
     14        1.2 - Pagination
     152.0 - Images
     163.0 - BuddyPress
     17        3.1 - Activity
     18                3.1.1 - Activity Listing
     19                3.1.2 - Activity Comments
     20        3.2 - Toolbar
     21        3.3 - Directories - Members, Groups, Blogs, Forums
     22        3.4 - Error / Success Messages
     23        3.5 - Forms
     24        3.6 - Ajax Loading
     25        3.7 - Topics and Tables - Forums and General
     26        3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
     27        3.9 - Private Messaging Threads
     28        3.10 - Extended Profiles
     29        3.11 - Widgets
     30--------------------------------------------------------------*/
     31
     32/*--------------------------------------------------------------
     331 - Navigation
     34--------------------------------------------------------------*/
     35
     36/*--------------------------------------------------------------
     371.1 - Nav - General/Common tabs, links
     38--------------------------------------------------------------*/
     39
     40#buddypress div.item-list-tabs ul li a,
     41#buddypress div.item-list-tabs ul li span,
     42#buddypress div.pagination .pagination-links span,
     43#buddypress div.pagination .pagination-links a,
     44#buddypress .activity-header a, #buddypress .activity-inner a,
     45#buddypress .activity-comments a, #buddypress .item-list .load-more a {
     46        border-bottom: 0;
     47}
     48
     49/*--------------------------------------------------------------
     501.2 - Pagination
     51--------------------------------------------------------------*/
     52
     53#buddypress div.pagination {
     54        box-shadow: none;
     55}
     56#buddypress div.pagination .pagination-links {
     57        margin-right: 0;
     58}
     59#buddypress div.pagination .pagination-links span,
     60#buddypress div.pagination .pagination-links a {
     61        height: auto;
     62        line-height: 1;
     63        padding: 5px;
     64}
     65#buddypress .pagination .prev:before,
     66#buddypress .pagination .next:before {
     67        display: none;
     68}
     69#buddypress .pagination .prev,
     70#buddypress .pagination .next {
     71        background-color: transparent;
     72        color: inherit;
     73        overflow: visible;
     74        width: auto;
     75}
     76#buddypress .pagination .prev {
     77        position: static;
     78        left: auto;
     79}
     80#buddypress .pagination .next {
     81        position: static;
     82        right: auto;
     83}
     84
     85/*--------------------------------------------------------------
     863.0 - BuddyPress
     87--------------------------------------------------------------*/
     88/*--------------------------------------------------------------
     893.1 - Activity
     90--------------------------------------------------------------*/
     91
     92/*--------------------------------------------------------------
     933.1.1 - Activity Listing
     94--------------------------------------------------------------*/
     95
     96#buddypress .activity-list .activity-content {
     97        margin-top: -12px;
     98}
     99#buddypress .activity-list .activity-content .activity-header img.avatar {
     100        display: inline-block;
     101}
     102 No newline at end of file