Skip to:
Content

BuddyPress.org


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

Update twentyfourteen companion styles

  • Adjust minor padding margin issues.
  • Port table message thread style for notices loop.
  • Add small margin for item-body with no content display, counter 2014 sidebar clash.
  • Add small styling group settings screen.

See #6338

File:
1 edited

Legend:

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

    r9872 r9880  
    119119// titles dark backgrounds
    120120@mixin title-background-dark() {
    121     background: lighten($dark-background, 20%);
     121    background: lighten($dark-background, 30%);
    122122    color: $dark-back-text-color;
    123123}
     
    222222
    223223    .site-content {
     224        padding-bottom: $spacing-val-md;
    224225        padding-top: 4%;
    225226
     
    238239            }
    239240
    240             #buddypress { margin-bottom: $spacing-val-lg; }
    241             } // .article
    242         } // .content
     241            #buddypress {
     242                margin-bottom: $spacing-val-lg;
     243            }
     244
     245        } // .article
     246    } // .content
    243247} // .buddypress ( body class )
    244248
     
    430434                border-left: 0;
    431435                border-right: 0;
    432                 margin: 0 (-$spacing-val-md) $spacing-val-lg;
     436                margin: 0 (-$spacing-val-md) $spacing-val-md;
    433437
    434438                li:focus,
     
    588592                .item {
    589593                    float: left;
    590                     width: 60%;
     594                    width: 55%;
    591595
    592596                    div.item-desc {
     
    899903            clear: both;
    900904            margin-bottom: $spacing-val-xs;
    901             padding-top: $spacing-val-md;
     905            padding-top: $spacing-val-sm;
    902906
    903907            p {margin-bottom: 0;}
     
    10671071/**
    10681072*-------------------------------------------------
    1069 * @subsection 6.2.1 - item-body: groups
     1073* @subsection 6.2.1 - item-body: Groups
    10701074*-------------------------------------------------
    10711075*/
     
    10771081    */
    10781082
    1079 /* manage members */
     1083/* Settings */
     1084
     1085#group-settings-form,
     1086#create-group-form {
     1087
     1088    .radio {
     1089        strong {
     1090            @include font-size(18);
     1091        }
     1092
     1093        ul {
     1094            color: lighten($body-text, 30%);
     1095        }
     1096    }
     1097
     1098    #group-creation-previous {margin: $spacing-val-sm 0;}
     1099}
     1100
     1101/* Manage Members */
    10801102.groups.manage-members {
    10811103    #group-settings-form {
     
    11271149/**
    11281150    *------------------------------
    1129     * 6.2.1.2 - Group members list
     1151    * 6.2.1.2 - Group Members List
    11301152    *------------------------------
    11311153    */
     
    14741496    }
    14751497
     1498    /* Sitewide Notices loop */
     1499    #message-threads.sitewide-notices {
     1500        td {
     1501            width: 100%;
     1502
     1503            strong {
     1504                @include title-background-dark();
     1505                @include font-size(16);
     1506                display: block;
     1507                margin-bottom: 0.4em;
     1508                padding: 0.2em;
     1509            }
     1510
     1511            a {
     1512                display: inline-block;
     1513                line-height: initial;
     1514            }
     1515        }
     1516
     1517        td:first-child {
     1518            display: none;
     1519        }
     1520
     1521        td:first-child + td + td {
     1522        // notice date
     1523            border-bottom: 0;
     1524
     1525            span {
     1526                line-height: 1;
     1527            }
     1528        }
     1529
     1530        td:last-child {
     1531        // notice actions
     1532            border-bottom-color: $border-med;
     1533            line-height: 1;
     1534            text-align: right;
     1535
     1536            a:last-child {
     1537            // hide the 'x' text
     1538                line-height: 0;
     1539                margin-left: 0.7em;
     1540                text-indent: -999em;
     1541            }
     1542
     1543            a:last-child::after {
     1544                content: attr(title);
     1545                display: block;
     1546                line-height: initial;
     1547                text-indent: 0;
     1548            }
     1549        }
     1550    }
     1551
    14761552} // close #buddypress - user acounts item-body
    14771553
Note: See TracChangeset for help on using the changeset viewer.