Skip to:
Content

BuddyPress.org

Changeset 9899


Ignore:
Timestamp:
05/30/2015 05:57:06 PM (11 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

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
3 edited

Legend:

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

    r9895 r9899  
    640640*-----------------------------------------------------------
    641641*/
     642#item-body h1, #item-body h2, #item-body h3, #item-body h4, #item-body h5, #item-body h6 {
     643  margin: 1em 0; }
     644  #item-body h1 a, #item-body h2 a, #item-body h3 a, #item-body h4 a, #item-body h5 a, #item-body h6 a {
     645    border-bottom: 0; }
     646
    642647/**
    643648*----------------------------------------------------
    … …  
    656661  color: #fff;
    657662  padding: 0.2em; }
     663.groups #group-settings-form #request-list h4 {
     664  background: none;
     665  color: inherit; }
    658666
    659667.groups.edit-details #group-settings-form label {
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css

    r9895 r9899  
    640640*-----------------------------------------------------------
    641641*/
     642#item-body h1, #item-body h2, #item-body h3, #item-body h4, #item-body h5, #item-body h6 {
     643  margin: 1em 0; }
     644  #item-body h1 a, #item-body h2 a, #item-body h3 a, #item-body h4 a, #item-body h5 a, #item-body h6 a {
     645    border-bottom: 0; }
     646
    642647/**
    643648*----------------------------------------------------
    … …  
    656661  color: #fff;
    657662  padding: 0.2em; }
     663.groups #group-settings-form #request-list h4 {
     664  background: none;
     665  color: inherit; }
    658666
    659667.groups.edit-details #group-settings-form label {
  • 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.