Skip to:
Content

BuddyPress.org

Changeset 11919


Ignore:
Timestamp:
04/01/2018 11:27:49 AM (7 years ago)
Author:
hnla
Message:

Nouveau: Update styles

Commit addresses minor padding , margin issues.

Location:
trunk/src/bp-templates/bp-nouveau
Files:
4 edited

Legend:

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

    r11915 r11919  
    185185
    186186        li {
    187             display: flex;
     187
     188            @include flex-box-dir();
    188189
    189190            .item {
    190                 flex-grow: 1;
     191
     192                @include box-item-size($grow: 1);
     193            }
     194
     195            .action {
     196                text-align: right;
    191197            }
    192198
     
    199205    }
    200206
     207}
     208
     209#notifications-user-list {
     210    clear: both;
     211    padding-top: $pad-med;
    201212}
    202213
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_navigation.scss

    r11916 r11919  
    208208}
    209209
    210 // massage link padding
    211 
    212 .buddypress-wrap:not(.bp-vertical-navs) {
    213 
    214     .main-navs.single-screen-navs {
    215 
    216         @include medium-up {
    217 
    218             > ul > li:first-child {
    219 
    220                 a {
    221                     padding-left: 0;
    222                 }
    223             }
    224         }
    225     }
    226 }
    227 
    228210// Specifically default subnav elements
    229211.buddypress-wrap {
     
    254236                }
    255237
    256             }
    257 
    258             @include medium-up {
    259 
    260                 li:first-child {
    261 
    262                     a {
    263                         padding-left: 0;
    264                     }
    265                 }
    266238            }
    267239        }
  • trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css

    r11917 r11919  
    408408}
    409409
    410 @media screen and (min-width: 46.8em) {
    411     .buddypress-wrap:not(.bp-vertical-navs) .main-navs.single-screen-navs > ul > li:first-child a {
    412         padding-right: 0;
    413     }
    414 }
    415 
    416410.buddypress-wrap .bp-subnavs,
    417411.buddypress-wrap ul.subnav {
     
    433427    background: none;
    434428    color: #333;
    435 }
    436 
    437 @media screen and (min-width: 46.8em) {
    438     .buddypress-wrap .bp-subnavs ul li:first-child a {
    439         padding-right: 0;
    440     }
    441429}
    442430
     
    993981@media screen and (min-width: 46.8em) {
    994982    .friends-request-list li {
     983        display: -webkit-flex;
     984        display: -moz-flex;
     985        display: -ms-flex;
     986        display: -o-flex;
    995987        display: flex;
     988        -webkit-flex-flow: row nowrap;
     989        -moz-flex-flow: row nowrap;
     990        -ms-flex-flow: row nowrap;
     991        -o-flex-flow: row nowrap;
     992        flex-flow: row nowrap;
    996993    }
    997994    .friends-request-list li .item {
    998         flex-grow: 1;
     995        -webkit-flex: 1 1 auto;
     996        -moz-flex: 1 1 auto;
     997        -ms-flex: 1 1 auto;
     998        -o-flex: 1 1 auto;
     999        flex: 1 1 auto;
     1000    }
     1001    .friends-request-list li .action {
     1002        text-align: left;
    9991003    }
    10001004    .friends-request-list li .item-title {
     
    10021006        text-align: right;
    10031007    }
     1008}
     1009
     1010#notifications-user-list {
     1011    clear: both;
     1012    padding-top: 1em;
    10041013}
    10051014
  • trunk/src/bp-templates/bp-nouveau/css/buddypress.css

    r11917 r11919  
    408408}
    409409
    410 @media screen and (min-width: 46.8em) {
    411     .buddypress-wrap:not(.bp-vertical-navs) .main-navs.single-screen-navs > ul > li:first-child a {
    412         padding-left: 0;
    413     }
    414 }
    415 
    416410.buddypress-wrap .bp-subnavs,
    417411.buddypress-wrap ul.subnav {
     
    433427    background: none;
    434428    color: #333;
    435 }
    436 
    437 @media screen and (min-width: 46.8em) {
    438     .buddypress-wrap .bp-subnavs ul li:first-child a {
    439         padding-left: 0;
    440     }
    441429}
    442430
     
    993981@media screen and (min-width: 46.8em) {
    994982    .friends-request-list li {
     983        display: -webkit-flex;
     984        display: -moz-flex;
     985        display: -ms-flex;
     986        display: -o-flex;
    995987        display: flex;
     988        -webkit-flex-flow: row nowrap;
     989        -moz-flex-flow: row nowrap;
     990        -ms-flex-flow: row nowrap;
     991        -o-flex-flow: row nowrap;
     992        flex-flow: row nowrap;
    996993    }
    997994    .friends-request-list li .item {
    998         flex-grow: 1;
     995        -webkit-flex: 1 1 auto;
     996        -moz-flex: 1 1 auto;
     997        -ms-flex: 1 1 auto;
     998        -o-flex: 1 1 auto;
     999        flex: 1 1 auto;
     1000    }
     1001    .friends-request-list li .action {
     1002        text-align: right;
    9991003    }
    10001004    .friends-request-list li .item-title {
     
    10021006        text-align: left;
    10031007    }
     1008}
     1009
     1010#notifications-user-list {
     1011    clear: both;
     1012    padding-top: 1em;
    10041013}
    10051014
Note: See TracChangeset for help on using the changeset viewer.