Skip to:
Content

BuddyPress.org

Changeset 11952


Ignore:
Timestamp:
04/05/2018 07:39:37 AM (9 years ago)
Author:
hnla
Message:

Nouveau: Update message bulk action select styles

Remove select-wrap border on show, add border on focus/hover.

This minor change sits better with the recent update to show text label in r11951 initially showing select as inline with label text.

Border makes inline elements jump in height, on hover/focus outline is introduced to visually define the select control & avoid the height change.

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

Legend:

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

    r11930 r11952  
    8888
    8989                        .bulk-actions-wrap {
    90                                 border: 1px solid $bp-border-color;
    9190
    9291                                &.bp-show {
    … …  
    101100                        .select-wrap {
    102101                                border: 0;
     102                        }
     103
     104                        .select-wrap:focus,
     105                        .select-wrap:hover {
     106                                outline: 1px solid $med-light-grey;
    103107                        }
    104108
    … …  
    122126
    123127                        .bulk-apply {
     128                                border: 0;
    124129                                border-radius: none;
    125                                 border: 0;
    126130                                font-weight: 400;
    127131                                line-height: 1.8;
  • trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css

    r11930 r11952  
    699699}
    700700
    701 .buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap {
    702         border: 1px solid #eee;
    703 }
    704 
    705701.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show {
    706702        display: inline-block;
    … …  
    713709.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap {
    714710        border: 0;
     711}
     712
     713.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,
     714.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover {
     715        outline: 1px solid #d6d6d6;
    715716}
    716717
    … …  
    731732
    732733.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply {
     734        border: 0;
    733735        border-radius: none;
    734         border: 0;
    735736        font-weight: 400;
    736737        line-height: 1.8;
  • trunk/src/bp-templates/bp-nouveau/css/buddypress.css

    r11930 r11952  
    699699}
    700700
    701 .buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap {
    702         border: 1px solid #eee;
    703 }
    704 
    705701.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show {
    706702        display: inline-block;
    … …  
    713709.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap {
    714710        border: 0;
     711}
     712
     713.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,
     714.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover {
     715        outline: 1px solid #d6d6d6;
    715716}
    716717
    … …  
    731732
    732733.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply {
     734        border: 0;
    733735        border-radius: none;
    734         border: 0;
    735736        font-weight: 400;
    736737        line-height: 1.8;
Note: See TracChangeset for help on using the changeset viewer.