Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2018 06:01:39 PM (8 years ago)
Author:
boonebgorges
Message:

Nouveau: Fix the 'tabbed style' feature for primary item nav.

Fixes #7801.

File:
1 edited

Legend:

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

    r12043 r12050  
    477477.buddypress-wrap {
    478478
    479     .item-body {
    480 
    481         @include medium-up {
    482 
    483             // Profile group labels links
    484             // Button navigation as tabbed effect for wide screen
    485 
    486             @include tabbed-links();
    487 
    488             .bp-navs.tabbed-links {
    489                 background: none;
    490                 margin-top: 2px;
    491 
    492                 // For tabbed nav we remove any default button nav styles.
    493                 ul {
    494 
    495                     li {
    496 
    497                         a {
    498                             border-right: 0;
    499                             font-size: inherit;
    500                         }
    501                     }
    502 
    503                     li.last {
    504                         float: right;
    505                         margin: 0;
    506 
    507                         a {
    508                             margin-top: -0.5em;
    509                         }
    510                     }
    511 
    512                     li,
    513                     li.current {
    514 
    515                         a,
    516                         a:focus,
    517                         a:hover {
    518                             background: none;
    519                             border: 0;
    520                         }
    521 
    522                         a:active {
    523                             outline: none;
    524                         }
    525                     }
    526                 }
    527             } // close .bp-navs.tabbed-links
    528         } // @media
    529     }
    530 }
     479    @include medium-up {
     480
     481        // Profile group labels links
     482        // Button navigation as tabbed effect for wide screen
     483
     484        @include tabbed-links();
     485
     486        .bp-navs.tabbed-links {
     487            background: none;
     488            margin-top: 2px;
     489
     490            &.main-navs {
     491
     492            }
     493
     494            // For tabbed nav we remove any default button nav styles.
     495            ul {
     496
     497                li {
     498
     499                    a {
     500                        border-right: 0;
     501                        font-size: inherit;
     502                    }
     503                }
     504
     505                li.last {
     506                    float: right;
     507                    margin: 0;
     508
     509                    a {
     510                        margin-top: -0.5em;
     511                    }
     512                }
     513
     514                li,
     515                li.current {
     516
     517                    a,
     518                    a:focus,
     519                    a:hover {
     520                        background: none;
     521                        border: 0;
     522                    }
     523
     524                    a:active {
     525                        outline: none;
     526                    }
     527                }
     528            }
     529        } // close .bp-navs.tabbed-links
     530    } // @media
     531}
Note: See TracChangeset for help on using the changeset viewer.