Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/17/2015 05:08:50 PM (12 years ago)
Author:
hnla
Message:

Updates to twentyfifteen companion styles

  • Adjust margins/padding act comment forms
  • Adjust table td width notifications table
  • Minor nested selector updates

See #6291

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss

    r9871 r9875  
    832832                                a {
    833833                                        display: block;
    834                                         margin-bottom: $spacing-val-xs;
     834                                        margin: 0 0 $spacing-val-xs;
    835835                                        @media screen and (min-width: 38.75em) {
    836836                                                display: inline-block;
    837                                                 margin-bottom: 0;
     837                                                margin: 0;
    838838                                        }
    839839                                }
    … …  
    866866.activity-permalink {
    867867        #buddypress {
     868                background: none; // counter the .bp-user faux column background
    868869                #activity-stream {
    869870
    … …  
    895896        #activity-stream {
    896897                .activity-comments {
    897                         border-left: 1px solid $border-light;
    898                         margin-top: 5px;
    899 
    900                         ul {
     898                        margin: $spacing-val-sm 0 0;
     899
     900                        &.has-comments {
     901                                border-left: 1px solid $border-light;
     902                        }
     903
     904                        .ac-form {
     905                                padding: $spacing-val-md 0 0;
     906                        }
     907
     908                        > ul {
    901909                                background: rgba($light-background, 0.6);
    902910                                margin: 15px 0 0 2px;
     911                                @media screen and (min-width: 38.75em) {
     912                                        margin-left: 70px;
     913                                }
     914                        }
     915
     916                        .ac-reply-avatar {display: none;}
     917
     918                        .ac-reply-content {
     919                                margin-left: 0;
     920                                padding-left: 0;
     921                        }
     922
     923                        @media screen and (min-width: 38.75em) {
     924                                .ac-reply-avatar {display: block;}
     925
     926                                .ac-reply-content {
     927                                        overflow: hidden;
     928                                }
    903929                        }
    904930
    … …  
    14481474
    14491475.bp-user {
    1450 
    14511476        #buddypress {
    1452 
    14531477                .profile {
    14541478                        .bp-widget {
    … …  
    14621486                                table {margin-top: 0;}
    14631487                        }
    1464                         /* Edit profile */
    1465 
     1488                }
     1489        }
     1490}
     1491
     1492/* Edit Profile */
     1493.bp-user {
     1494        #buddypress {
     1495
     1496                .profile {
    14661497                        #profile-edit-form {
    14671498                                .button-nav:before,
    … …  
    15181549
    15191550        } // close #BuddyPress
    1520 
    15211551} // close .bp-user
    15221552
    … …  
    18141844
    18151845                table.notification-settings {
     1846                        th.title {width: 75%;}
    18161847                        td.yes,
    18171848                        td.no {
    … …  
    18191850                        }
    18201851                }
    1821                 // Profile table td widths
     1852                // Profile visibility table td widths
    18221853                table.profile-settings {
    18231854                        width: 100%;
Note: See TracChangeset for help on using the changeset viewer.