Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/22/2024 05:54:22 AM (2 years ago)
Author:
imath
Message:

Create a specific CSS file for BP Tooltips

  • Move BP Tooltips default CSS rules into their own BP Core file so that it's easier to add this file as a style dependency.
  • Let BP Template Packs override this BP Core file and create a new bp-tooltips.css file into BP Nouveau to do so.
  • Use this BP Core file as a dependency to Admin's Hello styles as well as BP Template packs main styles.
  • Enqueue BP Tooltips CSS rules when Block widgets are rendered.

Props jnie

See #9070 (trunk)
Closes https://github.com/buddypress/buddypress/pull/221

File:
1 edited

Legend:

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

    r12773 r13709  
    157157
    158158            }
     159
     160            .bp-tooltip {
     161
     162                @include bp-tooltip-bottom-right;
     163            }
     164
     165            #send-invites-editor .bp-tooltip {
     166
     167                // override .bp-invites-content .bp-tooltip
     168                &:after {
     169                    left: 0;
     170                    right: auto;
     171                }
     172            }
    159173        }
    160174
Note: See TracChangeset for help on using the changeset viewer.