Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/14/2018 12:53:34 PM (8 years ago)
Author:
hnla
Message:

Nouveau: Update group_creation_steps function

Commit addresses markup issues in Nouveau function.

Revert group create steps nav function to use BP core function.

This removes the problem of nested echo function & anchor links being set when they are not an active link.

Commit removes redundant Nouveau custom template tag function.

Commit adds class 'count' to spans generating numbers e.g steps count or group/member counts in navs.

Props dcavins, mercime, djpaul, r-a-y

See #7732

File:
1 edited

Legend:

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

    r11919 r11973  
    3333                        }
    3434
    35                         span {
     35                        .count {
    3636                                background: $light-grey;
    3737                                border: 1px solid $bp-border-dark;
     
    9393                        a {
    9494
    95                                 span {
     95                                .count {
    9696                                        background-color: $grey;
    9797                                }
     
    118118                                color: $off-white;
    119119
    120                                 span {
     120                                .count {
    121121                                        border-color: $off-white;
    122122                                }
     
    311311                        a {
    312312
    313                                 span {
     313                                .count {
    314314                                        background-color: $white;
    315315                                }
     
    323323                        a {
    324324
    325                                 span {
     325                                .count {
    326326                                        background-color: $highlight;
    327327                                        border: 0;
     
    335335                        a:hover {
    336336
    337                                 span {
     337                                .count {
    338338                                        background-color: $highlight;
    339339                                        border: 0;
     
    347347                        a {
    348348
    349                                 span:empty {
     349                                .count:empty {
    350350                                        display: none;
    351351                                }
     
    360360
    361361                        li:not(.current) {
    362 
     362                                color: $light-text;
    363363                                a {
    364364                                        color: $light-text;
     
    437437                        a {
    438438
    439                                 span {
     439                                .count {
    440440                                        display: inline-block;
    441441                                        float: right;
     
    459459                        a {
    460460
    461                                 span {
     461                                .count {
    462462                                        float: right;
    463463
Note: See TracChangeset for help on using the changeset viewer.