Skip to:
Content

BuddyPress.org

Changeset 11991


Ignore:
Timestamp:
04/25/2018 12:53:45 AM (18 months ago)
Author:
mercime
Message:

Nouveau: Add tooltip and adjust style for Activity Widget.

Fixes #7765.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/widget.php

    r11988 r11991  
    2525
    2626                        <cite>
    27                             <a href="<?php bp_activity_user_link(); ?>">
     27                            <a href="<?php bp_activity_user_link(); ?>" class="bp-tooltip" data-bp-tooltip="<?php echo esc_attr( bp_activity_member_display_name() ); ?>">
    2828                                <?php
    2929                                bp_activity_avatar(
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_tooltips.scss

    r11686 r11991  
    8585// Bottom Left Tooltip
    8686
     87.activity-list .bp-tooltip,
    8788.activity-meta-action .bp-tooltip,
    8889.notification-actions .bp-tooltip,
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_widgets.scss

    r11713 r11991  
    5555        } // close li
    5656    }
     57
     58    .activity-list {
     59        padding: 0;
     60
     61        blockquote {
     62            margin: 0 0 1.5em;
     63            overflow: visible;
     64            padding: 0 0 0.75em 0.75em;
     65        }
     66
     67        img {
     68            margin-bottom: 0.5em;
     69        }
     70    }
    5771}
    5872
  • trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css

    r11990 r11991  
    44914491}
    44924492
     4493.buddypress.widget .activity-list {
     4494    padding: 0;
     4495}
     4496
     4497.buddypress.widget .activity-list blockquote {
     4498    margin: 0 0 1.5em;
     4499    overflow: visible;
     4500    padding: 0 0.75em 0.75em 0;
     4501}
     4502
     4503.buddypress.widget .activity-list img {
     4504    margin-bottom: 0.5em;
     4505}
     4506
    44934507.widget-area .buddypress.widget ul.item-list li {
    44944508    -webkit-flex: 0 1 46%;
     
    46644678}
    46654679
     4680.activity-list .bp-tooltip:after,
    46664681.activity-meta-action .bp-tooltip:after,
    46674682.notification-actions .bp-tooltip:after,
  • trunk/src/bp-templates/bp-nouveau/css/buddypress.css

    r11990 r11991  
    44914491}
    44924492
     4493.buddypress.widget .activity-list {
     4494    padding: 0;
     4495}
     4496
     4497.buddypress.widget .activity-list blockquote {
     4498    margin: 0 0 1.5em;
     4499    overflow: visible;
     4500    padding: 0 0 0.75em 0.75em;
     4501}
     4502
     4503.buddypress.widget .activity-list img {
     4504    margin-bottom: 0.5em;
     4505}
     4506
    44934507.widget-area .buddypress.widget ul.item-list li {
    44944508    -webkit-flex: 0 1 46%;
     
    46644678}
    46654679
     4680.activity-list .bp-tooltip:after,
    46664681.activity-meta-action .bp-tooltip:after,
    46674682.notification-actions .bp-tooltip:after,
Note: See TracChangeset for help on using the changeset viewer.