Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/20/2018 08:35:16 PM (8 years ago)
Author:
hnla
Message:

Nouveau: Update dir navs

Add horizontal class to classes array as default if vert nav not selected to aid styling rulesets.

Re-factor 'Create Group' button while provision not yet available to select button style force main dir nav button to text style, vert nav selection as button.

Add definition borders top/bottom for medium-up dir navs horizontal configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_buttons.scss

    r11714 r11813  
    230230    #buddypress {
    231231
     232        // Style the create link as a button - this would be better served
     233        // as a modifier class but we need to be able to allow user selection
     234        // between button style & plain text. For the moment we'll force a
     235        // choice, vert dir navs get button style, horizontal dir navs a text link.
     236
    232237        .create-button { // the parent, i.e li element.
    233238            background: none;
     
    236241                float: right;
    237242            }
    238             //padding-top: $pad-med;
    239243            text-align: center;
    240244
     
    274278        }
    275279
     280        &.bp-dir-hori-nav {
     281
     282            .create-button {
     283                float: left;
     284
     285                a,
     286                a:hover {
     287                    background: none;
     288                    border: 0;
     289
     290                    @include box-shadow-none();
     291                    margin: 0;
     292                }
     293            }
     294        }
    276295    } // close #buddypress
    277296
Note: See TracChangeset for help on using the changeset viewer.