Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/10/2015 06:36:58 PM (11 years ago)
Author:
hnla
Message:

Updates to Twentyfourteen & Twentyfifteen scss files
General updates for both files to ensure uniform message notice elements rulesets; adjust colors.
update user item action buttons for small screens Twentyfourteen.
See #6338 See #6291

File:
1 edited

Legend:

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

    r9856 r9861  
    128128$notice-warning:         #d05656;
    129129$notice-info:            #9fd1e2;
     130$notice-update:          #ced98c;
    130131$stripe-odd:             #ebf0ff;
    131132$stripe-even:            #dbe5ff;
    … …  
    917918                                        }
    918919                                } // close #item-actions
     920
     921                                #message {
     922                                        order: 4;
     923                                }
     924
    919925                        }
    920926                } // close @media
    … …  
    975981                        img {
    976982                                float: none;
     983                        }
     984                }
     985
     986                #latest-update {
     987                        margin-bottom: $spacing-val-sm;
     988                }
     989
     990                @media screen and (max-width: 594px) {
     991                        #item-buttons {
     992                                div.generic-button {
     993                                        display: inline-block;
     994                                        float: none;
     995                                        margin: 0 0 $spacing-val-xs 0;
     996                                        width: 100%;
     997
     998                                        a {
     999                                                @include box-model();
     1000                                                display: block;
     1001                                                width: 100%;
     1002                                        }
     1003                                }
    9771004                        }
    9781005                }
    … …  
    9911018                                float: right;
    9921019                                width: 78%;
     1020
     1021                                #latest-update {
     1022                                        margin-bottom: $spacing-val-md;
     1023                                }
    9931024                        }
    9941025                }
    … …  
    13991430*/
    14001431#buddypress {
    1401         div#message.info {
     1432        div#message {
    14021433                p {
    1403                         @include message-box($notice-info);
    1404                 }
    1405         }
    1406 }
     1434                        @include font-size(18);
     1435                        font-weight: bold;
     1436                }
     1437
     1438                &.info {
     1439                        p {
     1440                                @include message-box($notice-info, #fff);
     1441                        }
     1442                }
     1443
     1444                &.updated {
     1445                        p {
     1446                                @include message-box($notice-update, #fff);
     1447                        }
     1448                }
     1449
     1450        } // close #message
     1451
     1452} // close  #buddypress
    14071453
    14081454// Without direct classes on our mesages ( 'warning' )
    14091455// we need to use the body classes
    14101456// message args ($variable-color, text-color)
     1457// todo: If this is class .warning is included in main BP styles remove from here
    14111458.delete-group {
    14121459        #buddypress {
    … …  
    14191466}
    14201467
     1468/**
     1469*-------------------------------------------------------------------------------
     1470* @section 10.0 - Ajax Loading, Widgets, General classes
     1471*-------------------------------------------------------------------------------
     1472*/
     1473
     1474#buddypress {
     1475        /* Auto Complete background */
     1476        .acfb-holder {
     1477
     1478                li.friend-tab {
     1479                        background: $notice-info;
     1480                        border: inherit;
     1481         }
     1482        }
     1483}
     1484
Note: See TracChangeset for help on using the changeset viewer.