Skip to:
Content

BuddyPress.org

Ticket #6124: 6124.01.patch

File 6124.01.patch, 2.2 KB (added by r-a-y, 10 years ago)
  • src/bp-templates/bp-legacy/buddypress-functions.php

     
    215215                                wp_style_add_data( $asset['handle'], 'suffix', $min );
    216216                        }
    217217                }
     218
     219                // Specific theme-related fixes
     220                $asset = $this->locate_asset_in_stack( get_stylesheet() . "{$min}.css", 'css' );
     221                if ( isset( $asset['location'] ) ) {
     222                        // use a unique handle
     223                        $asset['handle'] = 'bp-' . get_stylesheet();
     224                        wp_enqueue_style( $asset['handle'], $asset['location'], array(), $this->version, 'screen' );
     225
     226                        if ( $min ) {
     227                                wp_style_add_data( $asset['handle'], 'suffix', $min );
     228                        }
     229                }
    218230        }
    219231
    220232        /**
  • new file src/bp-templates/bp-legacy/css/twentyfifteen.css

    new file mode 100644
    - +  
     1#buddypress div.pagination {
     2        box-shadow: none;
     3}
     4#buddypress div.pagination .pagination-links {
     5        margin-right: 0;
     6}
     7#buddypress div.pagination .pagination-links span,
     8#buddypress div.pagination .pagination-links a {
     9        height: auto;
     10        line-height: 1;
     11        padding: 5px;
     12}
     13
     14#buddypress .pagination .prev:before,
     15#buddypress .pagination .next:before {
     16        display: none;
     17}
     18#buddypress .pagination .prev,
     19#buddypress .pagination .next {
     20        background-color: transparent;
     21        color: inherit;
     22        overflow: visible;
     23        width: auto;
     24}
     25#buddypress .pagination .prev {
     26        position: static;
     27        left: auto;
     28}
     29#buddypress .pagination .next {
     30        position: static;
     31        right: auto;
     32}
     33
     34#buddypress .activity-list .activity-content {
     35        margin-top: -12px;
     36}
     37
     38#buddypress div.item-list-tabs ul li a,
     39#buddypress div.item-list-tabs ul li span,
     40#buddypress div.pagination .pagination-links span,
     41#buddypress div.pagination .pagination-links a,
     42#buddypress .activity-header a, #buddypress .activity-inner a,
     43#buddypress .activity-comments a, #buddypress .item-list .load-more a {
     44        border-bottom: 0;
     45}
     46
     47#buddypress .activity-list .activity-content .activity-header img.avatar {
     48        display: inline-block;
     49}
     50 No newline at end of file