Skip to:
Content

BuddyPress.org

Ticket #6124: twentyfifteen-comp-style.patch

File twentyfifteen-comp-style.patch, 7.4 KB (added by hnla, 5 years ago)
  • src/bp-templates/bp-legacy/css/twentyfifteen.css

     
     1/*--------------------------------------------------------------
     2
     3This is the BuddyPress Companion stylesheet for
     4the WordPress Twentyfifteen theme.
     5
     6This sheet supports the primary BuddyPress styles in buddypress.css
     7
     8The Rulesets shadow the BP default stylesheet sectioning
     9to maintain uniformity.
     10
     11----------------------------------------------------------------
     12>>> TABLE OF CONTENTS:
     13----------------------------------------------------------------
     141.0 - Navigation
     15        1.1 - Nav - General/Common tabs, links
     16        1.2 - Pagination
     172.0 - Images
     183.0 - BuddyPress
     19        3.1 - Activity
     20                3.1.1 - Activity Listing
     21                3.1.2 - Activity Comments
     22        3.2 - Toolbar
     23        3.3 - Directories - Members, Groups, Blogs, Forums
     24        3.4 - Error / Success Messages
     25        3.5 - Forms
     26        3.6 - Ajax Loading
     27        3.7 - Topics and Tables - Forums and General
     28        3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
     29        3.9 - Private Messaging Threads
     30        3.10 - Extended Profiles
     31        3.11 - Widgets
     32--------------------------------------------------------------*/
     33/*--------------------------------------------------------------
     341 - Navigation
     35--------------------------------------------------------------*/
     36/*--------------------------------------------------------------
     371.1 - Nav - General/Common tabs, links
     38--------------------------------------------------------------*/
     39/* line 49, twentyfifteen.scss */
     40.buddypress #buddypress .item-list-tabs a,
     41.buddypress #buddypress .activity-header a,
     42.buddypress #buddypress .activity-inner a,
     43.buddypress #buddypress .activity-comments a,
     44.buddypress #buddypress .load-more a {
     45  border-bottom: 0;
     46}
     47/* line 53, twentyfifteen.scss */
     48.buddypress #buddypress .pagination-links a,
     49.buddypress #buddypress .pagination-links span {
     50  border-bottom: 0;
     51}
     52
     53/*--------------------------------------------------------------
     541.2 - Pagination
     55--------------------------------------------------------------*/
     56/* line 61, twentyfifteen.scss */
     57#buddypress div.pagination {
     58  box-shadow: none;
     59}
     60/* line 63, twentyfifteen.scss */
     61#buddypress div.pagination .pagination-links {
     62  margin-right: 0;
     63}
     64/* line 66, twentyfifteen.scss */
     65#buddypress div.pagination .pagination-links span,
     66#buddypress div.pagination .pagination-links a {
     67  height: auto;
     68  line-height: 1;
     69  padding: 5px;
     70}
     71/* line 72, twentyfifteen.scss */
     72#buddypress div.pagination .pagination-links .prev,
     73#buddypress div.pagination .pagination-links .next {
     74  background-color: transparent;
     75  color: inherit;
     76  overflow: visible;
     77  width: auto;
     78}
     79/* line 77, twentyfifteen.scss */
     80#buddypress div.pagination .pagination-links .prev:before,
     81#buddypress div.pagination .pagination-links .next:before {
     82  display: none;
     83}
     84/* line 79, twentyfifteen.scss */
     85#buddypress div.pagination .pagination-links .prev {
     86  position: static;
     87  left: auto;
     88}
     89/* line 83, twentyfifteen.scss */
     90#buddypress div.pagination .pagination-links .next {
     91  position: static;
     92  right: auto;
     93}
     94
     95/*--------------------------------------------------------------
     963.0 - BuddyPress
     97--------------------------------------------------------------*/
     98/*--------------------------------------------------------------
     993.1 - Activity
     100--------------------------------------------------------------*/
     101/*--------------------------------------------------------------
     1023.1.1 - Activity Listing
     103--------------------------------------------------------------*/
     104/* line 105, twentyfifteen.scss */
     105#buddypress .activity-list .activity-content {
     106  margin-top: -12px;
     107}
     108/* line 108, twentyfifteen.scss */
     109#buddypress .activity-list .activity-content .activity-header img.avatar {
     110  display: inline-block;
     111}
  • src/bp-templates/bp-legacy/css/twentyfifteen.scss

     
     1/*--------------------------------------------------------------
     2
     3This is the BuddyPress Companion stylesheet for
     4the WordPress Twentyfifteen theme.
     5
     6This sheet supports the primary BuddyPress styles in buddypress.css
     7
     8The Rulesets shadow the BP default stylesheet sectioning
     9to maintain uniformity.
     10
     11----------------------------------------------------------------
     12>>> TABLE OF CONTENTS:
     13----------------------------------------------------------------
     141.0 - Navigation
     15        1.1 - Nav - General/Common tabs, links
     16        1.2 - Pagination
     172.0 - Images
     183.0 - BuddyPress
     19        3.1 - Activity
     20                3.1.1 - Activity Listing
     21                3.1.2 - Activity Comments
     22        3.2 - Toolbar
     23        3.3 - Directories - Members, Groups, Blogs, Forums
     24        3.4 - Error / Success Messages
     25        3.5 - Forms
     26        3.6 - Ajax Loading
     27        3.7 - Topics and Tables - Forums and General
     28        3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
     29        3.9 - Private Messaging Threads
     30        3.10 - Extended Profiles
     31        3.11 - Widgets
     32--------------------------------------------------------------*/
     33
     34/*--------------------------------------------------------------
     351 - Navigation
     36--------------------------------------------------------------*/
     37
     38/*--------------------------------------------------------------
     391.1 - Nav - General/Common tabs, links
     40--------------------------------------------------------------*/
     41
     42// Remove 2015 border bottom on BP links/spans
     43.buddypress #buddypress {
     44        .item-list-tabs,
     45        .activity-header,
     46        .activity-inner,
     47        .activity-comments,
     48        .load-more {
     49                a { border-bottom: 0; }
     50        }       
     51        .pagination-links {
     52                a,
     53                span { border-bottom: 0; }
     54        }
     55} // close .buddypress #buddypress
     56/*--------------------------------------------------------------
     571.2 - Pagination
     58--------------------------------------------------------------*/
     59
     60#buddypress {
     61 div.pagination {
     62        box-shadow: none;
     63  .pagination-links {
     64                margin-right: 0;
     65    span,
     66    a {
     67                height: auto;
     68                line-height: 1;
     69                padding: 5px;
     70        }
     71    .prev,
     72    .next {
     73                background-color: transparent;
     74                color: inherit;
     75                overflow: visible;
     76                width: auto;
     77                                                &:before {display: none;}
     78        }
     79        .prev {
     80                position: static;
     81                left: auto;                             
     82        }
     83        .next {
     84                position: static;
     85                right: auto;
     86        }
     87                } // close .pagination-links
     88        } // close .pagination
     89} // close #buddypress
     90
     91/*--------------------------------------------------------------
     923.0 - BuddyPress
     93--------------------------------------------------------------*/
     94
     95/*--------------------------------------------------------------
     963.1 - Activity
     97--------------------------------------------------------------*/
     98
     99/*--------------------------------------------------------------
     1003.1.1 - Activity Listing
     101--------------------------------------------------------------*/
     102
     103#buddypress {
     104        .activity-list {
     105                .activity-content {
     106                        margin-top: -12px;
     107                .activity-header  {
     108                                img.avatar {
     109                                        display: inline-block;
     110                                }
     111                        } // close .activity-header
     112                } // close .activity-content
     113        } // close .activity-list
     114} // close #buddypress
     115 No newline at end of file