Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/30/2015 05:57:06 PM (9 years ago)
Author:
hnla
Message:

2015 companion styles heading background correction & generic heading margin management

  • Add rule to remove heading background inherited by group request members name from group settings form ruleset.
  • Additionally manage generic heading elements under item-body namespace: 2015 margins are far too large, reduce to 1em for grouped selectors; specific headings elements can then modify or inherit BP properties.

Fixes #6463 Props imath

File:
1 edited

Legend:

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

    r9895 r9899  
    12371237*-----------------------------------------------------------
    12381238*/
    1239 
     1239// Manage the margins inherited from 2015 inside the item-body sections
     1240// generally far too large a top margin for headings in our lists
     1241#item-body {
     1242    h1,
     1243    h2,
     1244    h3,
     1245    h4,
     1246    h5,
     1247    h6 {
     1248        margin: 1em 0;
     1249
     1250        a {border-bottom: 0;}
     1251    }
     1252}
    12401253/**
    12411254*----------------------------------------------------
     
    12591272            color: $content-background;
    12601273            padding: 0.2em;
     1274        }
     1275        // remove backgrounds from request list member names.
     1276        #request-list {
     1277            h4 {
     1278                background: none;
     1279                color: inherit;
     1280            }
    12611281        }
    12621282    }
Note: See TracChangeset for help on using the changeset viewer.