User:Bugghost/Scripts/UserRoleIndicator.js: Difference between revisions

Content deleted Content added
this would be a lot easier to debug if there was a user link on the preview page
popup layout
Line 240:
if ( !title || title.startsWith( 'User:' ) ) {
this.$link.attr( 'title', descriptionForHover );
this.$link.prepend($("<div class='user-role-indicator-popupcontainer'><div class='user-role-indicator-inner'>๐Ÿงน</div></div>"))
}
 
Line 281:
` );
 
this.addCSS('user-role-indicator-popupcontainer', 'background-colorposition: #333relative !important; ')
this.addCSS('user-role-indicator-inner', 'position: absolute; position: absolute; top: 1em; right: 0px; font-size: smaller; background-color: #333 !important;')
 
this.mw.util.addCSS( '.UHS-no-permissions { border: 1px solid black !important; }' );