Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/08/2015 11:23:07 AM (11 years ago)
Author:
hnla
Message:

Commit updates for Twentythirteen companion styles.
Update addresses user account and single group headers, styling updates for cover image header and default header instances at various screen sizes.
See #6533

File:
1 edited

Legend:

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

    r10160 r10216  
    134134// Variables: color definitions
    135135$body-text:          #141412;
     136$light-body:         lighten(#141412, 45%);
    136137$content-background: #fff;
    137 $off-white:          lighten(#f9f8ee, 0.7);
     138$off-white:          lighten(#f9f8ee, 10%);
    138139$cream-background:   #f7f5e7;
    139140$light-background:   #f7f7f7;
     
    367368// to sit alongside the vert menu
    368369// As 2013 has an inner sidebar which if active can narrow screen too far
    369 // for a columner nav we'll only use these rules if no sidebar.
     370// for a columner nav we'll only use these rules if no sidebar 'body:not(.sidebar)'.
    370371
    371372@media screen and (min-width: 55em) {
     
    10671068.bp-user,
    10681069.single-item.groups {
     1070
     1071        .entry-header {
     1072                margin-bottom: 0;
     1073
     1074                .entry-title {
     1075                        color: $light-body;
     1076                        @include font-size(32);
     1077                        margin-bottom: $spacing-val-sm;
     1078                        text-align: center;
     1079                        @media screen and (min-width: 46.25em) {
     1080                                text-align: left;
     1081                        }
     1082                }
     1083        }
     1084
    10691085        #buddypress {
    10701086                #item-header-content {
     
    12001216
    12011217                                h3 {
    1202                                         //background: $dark-background;
    1203                                         //color: $content-background;
    12041218                                        @include font-size(14);
    12051219
     
    12281242
    12291243                                div#item-actions {
     1244                                        clear: both;
    12301245                                        float: right;
    12311246                                        width: 28%;
     1247
     1248                                        h3 {
     1249                                                @include font-size(14);
     1250                                        }
    12321251                                }
    12331252
    12341253                        } // close @media
     1254
     1255                        #item-header-cover-image {
     1256        //                      #item-header-content {
     1257        //                      }
     1258
     1259                                #item-actions {
     1260                                        border: 0;
     1261                                        @media screen and (max-width: 46.25em) {
     1262                                                clear: both !important;
     1263                                        }
     1264                                        float: none;
     1265                                        width: auto;
     1266                                }
     1267
     1268                                @media screen and (min-width: 46.25em) {
     1269                                        #item-header-content {
     1270                                                padding-left: $spacing-val-sm;
     1271
     1272                                                #item-buttons {
     1273                                                        margin-top: 0;
     1274                                                }
     1275                                        }
     1276
     1277                                        #item-actions {
     1278                                                border-left: 1px solid $border-light;
     1279                                                clear: none;
     1280                                                float: right;
     1281                                                margin-top: 230px !important;
     1282                                                padding-top: 0 !important;
     1283                                                width: 20%;
     1284                                        }
     1285                                }
     1286                        }
    12351287
    12361288                } // close #item-header
     
    12471299
    12481300.bp-user {
     1301
    12491302        #buddypress {
    12501303                #item-header {
     
    12631316                        }
    12641317
     1318                        #item-header-content {
     1319                                .user-nicename,
     1320                                span.activity {
     1321                                        display: block;
     1322                                        text-align: center;
     1323                                }
     1324                        }
     1325
    12651326                        @media screen and (min-width: 46.25em) {
    12661327                                #item-header-avatar {
    12671328                                        float: left;
    1268                                         width: 20%;
     1329                                        width: auto;
    12691330
    12701331                                        a {
     
    12741335
    12751336                                #item-header-content {
    1276                                         float: right;
    1277                                         margin-right: 5%;
    1278                                         width: 69%;
     1337                                        float: none;
     1338                                        overflow: hidden;
     1339
     1340                                        .user-nicename,
     1341                                        span.activity {
     1342                                                text-align: left;
     1343                                        }
     1344
     1345                                        #item-meta {
     1346                                                margin-top: 0;
     1347                                        }
    12791348                                }
    12801349
     
    12821351
    12831352                } // close #item-header
     1353
     1354                #item-header-cover-image {
     1355
     1356                        #item-header-content {
     1357                                @media screen and (min-width: 46.25em) {
     1358                                        .user-nicename {
     1359                                                margin-bottom: $spacing-val-md;
     1360                                        }
     1361
     1362                                        #item-buttons {
     1363                                                margin: 0;
     1364                                        }
     1365                                }
     1366                        }
     1367                }
    12841368
    12851369        } // close #buddypress
Note: See TracChangeset for help on using the changeset viewer.