Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/30/2015 05:58:56 PM (10 years ago)
Author:
hnla
Message:

Updates to twentyfourteen complimentary styles

General style updates & corrections

  • Updates various user account screen elements
  • Updates general form styles
  • Corrects item-body background

See #6338

File:
1 edited

Legend:

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

    r9821 r9823  
    116116$notice-warning:         #d05656;
    117117$notice-info:            #9fd1e2;
     118$stripe-odd:             #ebf0ff;
     119$stripe-even:            #dbe5ff;
     120$unread:                 #cddaff;
    118121
    119122// 2014 font family
     
    269272}
    270273
     274// Add a little bottom margin to subnav up to vert nav display point
     275// for user/group screens
     276// @todo object nav/subnav needs display solution/styling for stacked views
     277@media screen and (max-width: 783px) {
     278    #buddypress {
     279        div#subnav.item-list-tabs {
     280            margin-bottom: $spacing-val-lg;
     281        }
     282    }
     283}
     284
    271285/*__ Vertical Menu User Account Screens __*/
    272286
     
    279293
    280294@media screen and (min-width: 783px) {
     295
     296    .bp-user,
     297    .single-item.groups {
     298        #buddypress {
     299            background: lighten($nav-background-border, 10%);
     300        }
     301    }
     302
    281303    #buddypress {
    282         background: lighten($nav-background-border, 10%);
    283304
    284305        #item-header,
     
    344365            }
    345366        }
    346     } // close .bp-user #buddypress
     367    } // close #buddypress
    347368} // close @media
    348369
     
    352373*----------------------------------------------------------
    353374*/
     375
     376#buddypress {
     377    div.pagination {
     378        .pag-count {
     379            margin-left: 0;
     380        }
     381    }
     382}
    354383
    355384/**
     
    510539*/
    511540#buddypress {
    512     #whats-new-form {
     541    form#whats-new-form {
    513542        margin: $spacing-val-lg 0;
     543
     544        // Line-height issue inherited from BP rules, override.
     545        p.activity-greeting {
     546            line-height: inherit;
     547        }
    514548
    515549        textarea#whats-new {
     
    939973    } // close .profile
    940974
     975/**
     976    *------------------------------
     977    * @subsection 6.2.2.5 - Messaging
     978    *------------------------------
     979    */
     980
     981    table#message-threads {
     982
     983        .bulk-select-check {
     984            width: 5%;
     985        }
     986
     987        .thread-from,
     988        .thread-info {
     989            width: 35%;
     990        }
     991
     992        .thread-options {
     993            width: 25%;
     994        }
     995
     996        tr {
     997            td {
     998                background: $stripe-odd;
     999            }
     1000        }
     1001
     1002        tr.alt {
     1003            td {
     1004                background: $stripe-even;
     1005            }
     1006        }
     1007
     1008        tr.unread {
     1009            td {
     1010                background: $unread;
     1011                border-bottom: 1px solid #e4cdff;
     1012                border-top: 1px solid #e4cdff;
     1013            }
     1014        }
     1015
     1016        tr.read {
     1017            td {
     1018                opacity: 0.5;
     1019            }
     1020        }
     1021    }
     1022
     1023/**
     1024    *------------------------------
     1025    * @subsection 6.2.2.6 - Settings
     1026    *------------------------------
     1027    */
     1028
     1029    // Profile table td widths
     1030    table.profile-settings {
     1031        width: 100%;
     1032
     1033        th,
     1034        td {
     1035            clear: none;
     1036            width: 50%;
     1037        }
     1038    }
     1039
    9411040} // close #buddypress - user acounts item-body
    9421041/*------------------------------------------------------------------------------
     
    9491048#buddypress {
    9501049
     1050    input[type="text"],
     1051    input[type="email"],
     1052    input[type="password"],
     1053    input[type="submit"],
     1054    select,
     1055    textarea {
     1056        border: 1px solid $border-med;
     1057    }
     1058
    9511059    .standard-form {
    9521060        input[type="text"],
     1061        input[type="email"],
     1062        input[type="password"],
     1063        input[type="submit"],
    9531064        textarea {
    9541065            width: 100%;
     
    9701081    }
    9711082
    972     select {border: 1px solid rgba($border-color, 0.5);}
    973 
    9741083} // close #buddypress
    9751084
     
    9771086    div.dir-search,
    9781087    div.message-search {
     1088        clear: both;
    9791089        float: none;
    9801090        margin: $spacing-val-sm 0;
     
    9941104                float: left;
    9951105                margin: 0;
    996                 width: 100%;
     1106                width: 80%;
    9971107            }
    9981108
     
    10261136        div.dir-search,
    10271137        div.message-search {
     1138            clear: none;
    10281139            float: right;
    10291140            margin: 0;
Note: See TracChangeset for help on using the changeset viewer.